center items

61

.parent {
  display: flex;
  justify-content: center;
  align-items: center;
}
P.blocktext {
    margin-left: auto;
    margin-right: auto;
    width: 200px;/*usually works best with a fixed width*/
}

Comments

Submit
0 Comments